package com.tianxin.workbao.workBao.bean;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Id;
import org.greenrobot.greendao.annotation.Property;

import java.io.Serializable;
import java.util.Date;
import org.greenrobot.greendao.annotation.Generated;

/**
 * Created by hacker on 2017/7/24.
 */
@Entity
public class MobileChart implements Serializable {

    private static final long serialVersionUID = 1022620770867916496L;
    //0 today 1 week 2 month 3season 4year
    @Id
    private long id;
    @Property
    private Date addTime;
    @Property
    private Integer staticType;
    @Property
    private Integer cars;
    @Property
    private Integer customers;
    @Property
    private Integer coals;
    @Property
    private Float grossWeight;
    @Property
    private Float traeWeight;
    @Property
    private Float netWeight;
    @Property
    private Float lossWeight;
    @Property
    private String timeTag;
    @Property
    private Integer type;
    @Property
    private Integer chartType;
    public Integer getChartType() {
        return this.chartType;
    }
    public void setChartType(Integer chartType) {
        this.chartType = chartType;
    }
    public Integer getType() {
        return this.type;
    }
    public void setType(Integer type) {
        this.type = type;
    }
    public String getTimeTag() {
        return this.timeTag;
    }
    public void setTimeTag(String timeTag) {
        this.timeTag = timeTag;
    }
    public Float getLossWeight() {
        return this.lossWeight;
    }
    public void setLossWeight(Float lossWeight) {
        this.lossWeight = lossWeight;
    }
    public Float getNetWeight() {
        return this.netWeight;
    }
    public void setNetWeight(Float netWeight) {
        this.netWeight = netWeight;
    }
    public Float getTraeWeight() {
        return this.traeWeight;
    }
    public void setTraeWeight(Float traeWeight) {
        this.traeWeight = traeWeight;
    }
    public Float getGrossWeight() {
        return this.grossWeight;
    }
    public void setGrossWeight(Float grossWeight) {
        this.grossWeight = grossWeight;
    }
    public Integer getCoals() {
        return this.coals;
    }
    public void setCoals(Integer coals) {
        this.coals = coals;
    }
    public Integer getCustomers() {
        return this.customers;
    }
    public void setCustomers(Integer customers) {
        this.customers = customers;
    }
    public Integer getCars() {
        return this.cars;
    }
    public void setCars(Integer cars) {
        this.cars = cars;
    }
    public Integer getStaticType() {
        return this.staticType;
    }
    public void setStaticType(Integer staticType) {
        this.staticType = staticType;
    }
    public Date getAddTime() {
        return this.addTime;
    }
    public void setAddTime(Date addTime) {
        this.addTime = addTime;
    }
    public long getId() {
        return this.id;
    }
    public void setId(long id) {
        this.id = id;
    }
    @Generated(hash = 636970982)
    public MobileChart(long id, Date addTime, Integer staticType, Integer cars,
            Integer customers, Integer coals, Float grossWeight, Float traeWeight,
            Float netWeight, Float lossWeight, String timeTag, Integer type,
            Integer chartType) {
        this.id = id;
        this.addTime = addTime;
        this.staticType = staticType;
        this.cars = cars;
        this.customers = customers;
        this.coals = coals;
        this.grossWeight = grossWeight;
        this.traeWeight = traeWeight;
        this.netWeight = netWeight;
        this.lossWeight = lossWeight;
        this.timeTag = timeTag;
        this.type = type;
        this.chartType = chartType;
    }
    @Generated(hash = 385903291)
    public MobileChart() {
    }

}
